<?php

class Application_Model_Database
{

  protected $_db;
  
  public function __construct() {
    $this->_db= new Zend_Db_Adapter_Pdo_Mysql(array(
            'username'=>'root',
            'password'=>'',
            'dbname'=>'magove_eot',
            'host'=>'localhost'
            ));
  }
  
  public function doQuery($sql){
    //$rs=$this->_db->query($sql);
    return $this->_db->query($sql);
  }
}

